<!--

     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->

<html>
<head>
    <!-- Generated by groovydoc (2.4.5) on Mon Sep 12 08:35:17 CEST 2016 -->
    <title>Future (Groovy Documentation)</title>
    <meta name="date" content="2016-09-12">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
    <link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
    <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
    parent.document.title="Future (Groovy Documentation)";
}
//-->
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
    <!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../index-all.html">Index</a></li>
        <li><a href="../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../index.html?io/vertx/groovy/core/Future" target="_top">Frames</a></li>
            <li><a href="Future.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <a name="skip-navbar_top">
        <!--   -->
    </a></div>
<!-- ========= END OF TOP NAVBAR ========= -->

<!-- ======== START OF CLASS DATA ======== -->
<div class="header">

    <div class="subTitle">Package: <strong>io.vertx.groovy.core</strong></div>

    <h2 title="[Groovy] Class Future&lt;T&gt;" class="title">[Groovy] Class Future&lt;T&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><ul class="inheritance"></ul></li><li>io.vertx.groovy.core.Future
</ul>
<div class="description">
    <ul class="blockList">
        <li class="blockList">



    <p> Represents the result of an action that may, or may not, have occurred yet.
 <p>
</p>

          </li>
    </ul>
</div>

<div class="summary">
    <ul class="blockList">
        <li class="blockList">
        <!-- =========== NESTED CLASS SUMMARY =========== -->
        

        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
        
        <!-- =========== FIELD SUMMARY =========== -->
        

        <!-- =========== PROPERTY SUMMARY =========== -->
        

        <!-- =========== ELEMENT SUMMARY =========== -->
        

        
        <!-- ======== CONSTRUCTOR SUMMARY ======== -->
        <ul class="blockList">
                <li class="blockList"><a name="constructor_summary"><!--   --></a>
                    <h3>Constructor Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Constructor and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst">
                                <code><a href="#Future(java.lang.Object)">Future</a></strong>
                                (java.lang.Object delegate)</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
        </ul>
        

        
        <!-- ========== METHOD SUMMARY =========== -->
        <ul class="blockList">
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Type</th>
                            <th class="colLast" scope="col">Name and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.Throwable</strong></code></td>
                            <td class="colLast"><code><strong><a href="#cause()">cause</a></strong>()</code><br>A Throwable describing failure. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#complete(T)">complete</a></strong>(T result)</code><br>Set the result. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#complete()">complete</a></strong>()</code><br>Set a null result. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#completer()">completer</a></strong>()</code><br>@return an handler completing this future</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#compose(Handler<T>, Future<U>)">compose</a></strong>(io.vertx.core.Handler&lt;T&gt; handler, <a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt; next)</code><br>Compose this future with a provided <code>next</code> future.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#compose(java.util.function.Function<T, Future<U>>)">compose</a></strong>(java.util.function.Function&lt;T, <a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt;&gt; mapper)</code><br>Compose this future with a <code>mapper</code> function.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#fail(java.lang.Throwable)">fail</a></strong>(java.lang.Throwable throwable)</code><br>Set the failure. </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#fail(java.lang.String)">fail</a></strong>(java.lang.String failureMessage)</code><br>Set the failure. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#failed()">failed</a></strong>()</code><br>Did it fail?</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#failedFuture(java.lang.String)">failedFuture</a></strong>(java.lang.String failureMessage)</code><br>Create a failed future with the specified failure message.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#future()">future</a></strong>()</code><br>Create a future that hasn't completed yet</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getDelegate()">getDelegate</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isComplete()">isComplete</a></strong>()</code><br>Has the future completed?</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#map(java.util.function.Function<T, U>)">map</a></strong>(java.util.function.Function&lt;T, U&gt; mapper)</code><br>Apply a <code>mapper</code> function on this future.</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;V&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#map(V)">map</a></strong>(V value)</code><br>Map the result of a future to a specific <code>value</code>.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>T</strong></code></td>
                            <td class="colLast"><code><strong><a href="#result()">result</a></strong>()</code><br>The result of the operation. </td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#setHandler(Handler<AsyncResult<T>>)">setHandler</a></strong>(io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; handler)</code><br>Set a handler for the result.</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#succeeded()">succeeded</a></strong>()</code><br>Did it succeed?</td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#succeededFuture()">succeededFuture</a></strong>()</code><br>Create a succeeded future with a null result</td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#succeededFuture(T)">succeededFuture</a></strong>(T result)</code><br>Created a succeeded future with the specified result.</td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Inherited Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Methods inherited from class</th>
                            <th class="colLast" scope="col">Name</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>class java.lang.Object</strong></code></td>
                            <td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()</code></td>
                        </tr>
                    </table>
                   </ul>
              </li>
                
        </ul>
        
    </li>
    </ul>
</div>

<div class="details">
    <ul class="blockList">
        <li class="blockList">
           

            

            

            

            
            <!-- =========== CONSTRUCTOR DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="constructor_detail">
                    <!--   -->
                </a>
                    <h3>Constructor Detail</h3>
                    
                        <a name="Future(java.lang.Object)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><strong>Future</strong>(java.lang.Object delegate)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            


            
            <!-- =========== METHOD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="method_detail">
                    <!--   -->
                </a>
                    <h3>Method Detail</h3>
                    
                        <a name="cause()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Throwable <strong>cause</strong>()</h4>
                                <p> A Throwable describing failure. This will be null if the operation succeeded.
   <DL><DT><B>Returns:</B></DT><DD>the cause or null if the operation succeeded.</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="complete(T)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>complete</strong>(T result)</h4>
                                <p> Set the result. Any handler will be called, if there is one, and the future will be marked as completed.
   <DL><DT><B>Parameters:</B></DT><DD><code>result</code> -  the result</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="complete()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>complete</strong>()</h4>
                                <p> Set a null result. Any handler will be called, if there is one, and the future will be marked as completed.
   </p>
                            </li>
                        </ul>
                    
                        <a name="completer()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; <strong>completer</strong>()</h4>
                                <p>
   <DL><DT><B>Returns:</B></DT><DD>an handler completing this future</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="compose(Handler<T>, Future<U>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt; <strong>compose</strong>(io.vertx.core.Handler&lt;T&gt; handler, <a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt; next)</h4>
                                <p> Compose this future with a provided <code>next</code> future.<p>

 When this (the one on which <code>compose</code> is called) future succeeds, the <code>handler</code> will be called with
 the completed value, this handler should complete the next future.<p>

 If the <code>handler</code> throws an exception, the returned future will be failed with this exception.<p>

 When this future fails, the failure will be propagated to the <code>next</code> future and the <code>handler</code>
 will not be called.
   <DL><DT><B>Returns:</B></DT><DD>the next future, used for chaining</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>handler</code> -  the handler</DD><DD><code>next</code> -  the next future</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="compose(java.util.function.Function<T, Future<U>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt; <strong>compose</strong>(java.util.function.Function&lt;T, <a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt;&gt; mapper)</h4>
                                <p> Compose this future with a <code>mapper</code> function.<p>

 When this future (the one on which <code>compose</code> is called) succeeds, the <code>mapper</code> will be called with
 the completed value and this mapper returns another future object. This returned future completion will complete
 the future returned by this method call.<p>

 If the <code>mapper</code> throws an exception, the returned future will be failed with this exception.<p>

 When this future fails, the failure will be propagated to the returned future and the <code>mapper</code>
 will not be called.
   <DL><DT><B>Returns:</B></DT><DD>the composed future</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>mapper</code> -  the mapper function</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="fail(java.lang.Throwable)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>fail</strong>(java.lang.Throwable throwable)</h4>
                                <p> Set the failure. Any handler will be called, if there is one, and the future will be marked as completed.
   <DL><DT><B>Parameters:</B></DT><DD><code>throwable</code> -  the failure cause</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="fail(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>fail</strong>(java.lang.String failureMessage)</h4>
                                <p> Set the failure. Any handler will be called, if there is one, and the future will be marked as completed.
   <DL><DT><B>Parameters:</B></DT><DD><code>failureMessage</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="failed()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>boolean <strong>failed</strong>()</h4>
                                <p> Did it fail?
   <DL><DT><B>Returns:</B></DT><DD>true if it failed or false otherwise</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="failedFuture(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt; <strong>failedFuture</strong>(java.lang.String failureMessage)</h4>
                                <p> Create a failed future with the specified failure message.
   <DL><DT><B>Returns:</B></DT><DD>the future</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>failureMessage</code> -  the failure message</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="future()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt; <strong>future</strong>()</h4>
                                <p> Create a future that hasn't completed yet
   <DL><DT><B>Returns:</B></DT><DD>the future</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="getDelegate()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Object <strong>getDelegate</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isComplete()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>boolean <strong>isComplete</strong>()</h4>
                                <p> Has the future completed?
 <p>
 It's completed if it's either succeeded or failed.
   <DL><DT><B>Returns:</B></DT><DD>true if completed, false if not</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="map(java.util.function.Function<T, U>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;U&gt; <strong>map</strong>(java.util.function.Function&lt;T, U&gt; mapper)</h4>
                                <p> Apply a <code>mapper</code> function on this future.<p>

 When this future succeeds, the <code>mapper</code> will be called with the completed value and this mapper
 returns a value. This value will complete the future returned by this method call.<p>

 If the <code>mapper</code> throws an exception, the returned future will be failed with this exception.<p>

 When this future fails, the failure will be propagated to the returned future and the <code>mapper</code>
 will not be called.
   <DL><DT><B>Returns:</B></DT><DD>the mapped future</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>mapper</code> -  the mapper function</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="map(V)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;V&gt; <strong>map</strong>(V value)</h4>
                                <p> Map the result of a future to a specific <code>value</code>.<p>

 When this future succeeds, this <code>value</code> will complete the future returned by this method call.<p>

 When this future fails, the failure will be propagated to the returned future.
   <DL><DT><B>Returns:</B></DT><DD>the mapped future</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>value</code> -  the value that eventually completes the mapped future</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="result()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>T <strong>result</strong>()</h4>
                                <p> The result of the operation. This will be null if the operation failed.
   <DL><DT><B>Returns:</B></DT><DD>the result or null if the operation failed.</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="setHandler(Handler<AsyncResult<T>>)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt; <strong>setHandler</strong>(io.vertx.core.Handler&lt;io.vertx.core.AsyncResult&lt;T&gt;&gt; handler)</h4>
                                <p> Set a handler for the result.
 <p>
 If the future has already been completed it will be called immediately. Otherwise it will be called when the
 future is completed.
   <DL><DT><B>Returns:</B></DT><DD>a reference to this, so it can be used fluently</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>handler</code> -  the Handler that will be called with the result</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="succeeded()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>boolean <strong>succeeded</strong>()</h4>
                                <p> Did it succeed?
   <DL><DT><B>Returns:</B></DT><DD>true if it succeded or false otherwise</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="succeededFuture()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt; <strong>succeededFuture</strong>()</h4>
                                <p> Create a succeeded future with a null result
   <DL><DT><B>Returns:</B></DT><DD>the future</DD></DL></p>
                            </li>
                        </ul>
                    
                        <a name="succeededFuture(T)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>static&nbsp;<a href='../../../../io/vertx/groovy/core/Future.html' title='Future'>Future</a>&lt;T&gt; <strong>succeededFuture</strong>(T result)</h4>
                                <p> Created a succeeded future with the specified result.
   <DL><DT><B>Returns:</B></DT><DD>the future</DD></DL><DL><DT><B>Parameters:</B></DT><DD><code>result</code> -  the result</DD></DL></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            
        </li>
    </ul>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
    <!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../index-all.html">Index</a></li>
        <li><a href="../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../index.html?io/vertx/groovy/core/Future" target="_top">Frames</a></li>
            <li><a href="Future.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            Field&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <p>Groovy Documentation</p>
    <a name="skip-navbar_bottom">
        <!--   -->
    </a>
    </div>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>